<?php


class CVS
{

    private $_type = 'mercurial';
    private $_driver = 'hg';

    private static $_instance = null;


    private function __construct()
    {
    }

    public static function getInstance()
    {
        if(is_null(self::$_instance))
        {
            self::$_instance = new CVS();
        }

        return self::$_instance;
    }

    public function getType()
    {
        return $this->_type;
    }

    public function showDriver()
    {
        return $this->_driver;
    }

    public function setDriver(string $driver)
    {
        $this->_driver = $driver;
    }


}
